﻿using FluentNHibernate.Mapping;
using GlobalStore.DataAccess.Entities;

namespace GlobalStore.DataAccess.Mapping
{
    public class UserMap : ClassMap<User>
    {
        public UserMap()
        {
            Id(u => u.Id);
            Map(u => u.Name);
            Map(u => u.Password);
            Map(u => u.UserRole);
        }
    }
}
